package softstarter.gui.reborn;

import javax.swing.JFrame;
import javax.swing.SwingUtilities;


public class ProgramGUI extends JFrame {

    ProgramSettings settings;
    
    
    public ProgramGUI() {
        
        settings = new ProgramSettings();
        setUpWindow();
        
        setVisible(true);
    }
    
    private void setUpWindow() {
        
        this.setTitle("Firesoft");
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
        
        setAlwaysOnTop(settings.WINDOWS_ALWAYS_ON_TOP);
        setUndecorated(settings.SHOW_WINDOW_BORDERS);
        
    }
    
    /**
     * Starts the program.
     * 
     * @param args
     */
    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new ProgramGUI();
            }
        });
    }


}
